class Response:

    def __init__(self, status: int, message: str, data: object):
        self.status = status
        self.message = message
        self.data = data

    @staticmethod
    def success(data: object):
        return Response(200, "success", data)

    @staticmethod
    def error(message: str):
        return Response(500, message, None)

